2fd191c70003ddc13433efe9ec565c969707ced9,src/main/java/pl/asie/charset/lib/wires/Wire.java,Wire,readNBTData,#NBTTagCompound#boolean#,45
Before Change
externalConnections = nbt.getByte("eC");
cornerConnections = nbt.getByte("cC");
occludedSides = nbt.getByte("oS");
cornerOccludedSides = nbt.getByte("coS");
}
public NBTTagCompound writeNBTData(NBTTagCompound nbt, boolean isClient) {
After Change
externalConnections = nbt.getByte("eC");
cornerConnections = nbt.hasKey("cC") ? nbt.getByte("cC") : 0;
occludedSides = nbt.hasKey("oS") ? nbt.getByte("oS") : 0;
cornerOccludedSides = nbt.hasKey("coS") ? nbt.getByte("coS") : 0;
}
public NBTTagCompound writeNBTData(NBTTagCompound nbt, boolean isClient) {